package com.colortea.action.frontstage.goods;

import javax.annotation.Resource;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.InterceptorRef;
import org.apache.struts2.convention.annotation.InterceptorRefs;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;

import com.colortea.action.backstage.base.DataCollectionTAction;
import com.colortea.service.GoodsTService;
import com.opensymphony.xwork2.ActionSupport;

@ParentPackage("colortea")
@Namespace("")
@InterceptorRefs({ @InterceptorRef("defaultStack") })
public class GoodsTAction extends ActionSupport {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4665311847186883074L;
	@Resource
	private DataCollectionTAction dataCollectionTAction;
	@Resource
	private GoodsTService goodsTService;
	
	private int rp = 8;// 每页显示数量
	private int page = 1;
	private int total = 0;
	private int totalpage = 1;
	public int getRp() {
		return rp;
	}
	public void setRp(int rp) {
		this.rp = rp;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public int getTotalpage() {
		return totalpage;
	}
	public void setTotalpage(int totalpage) {
		this.totalpage = totalpage;
	}
	

	
	
	
	
}
